package com.origin.onlinesys.persistence.modules.finance;

import com.github.abel533.mapper.Mapper;
import com.origin.onlinesys.domain.modules.finance.Finance;
import java.util.List;
import java.util.Map;

/**
 * Created by origin on 15-3-20.
 * 财务
 */
public interface FinanceMapper extends Mapper<Finance>{

    public List<Finance> selectIncome(Map map);

    public List<Finance> selectPay(Map map);

    public String selectCountFinance(Map map);

    public void addBatchImg(List<Map> list);

    /**
     * 查询余额
     * @param zoneId  区域ID
     * @return
     */
    public Map selectBalance(String zoneId);
}
